package com.youyi.utils;

/**
 *
 * 线程独立内存操作
 * @author youyi.time
 * @date 2025/11/1 17:33
 */
public class ThreadUtils {
    public static ThreadLocal<Object> threadLocal = new InheritableThreadLocal<>();



    public static void setThreadLocal(Object o){
        threadLocal.set(o);
    }


    public static Object  getThreadLocal(){
        return threadLocal.get();
    }
}
